package com.isoft.illustrationsdraw.service;

import java.io.IOException;
import java.util.List;

import org.springframework.core.io.Resource;

public interface ResourceService {

    List<Resource> getIllustrationResourceById(Long id) throws IllegalArgumentException, IOException;
    Resource getSingleIllustrationResourceById(Long id, Integer index) throws IllegalArgumentException, IOException;
    Resource getProfileResourceByUserId(Long userId) throws IllegalArgumentException, IOException;
    List<String> getIllustrationPathsById(Long id) throws IllegalArgumentException;
    Resource getResourceByPath(String path) throws IllegalArgumentException, IOException;
    // Resource getMessageResourceById(Long id) throws IllegalArgumentException, IOException;
    // Resource getResourceByPath(String path) throws IllegalArgumentException, IOException;  
} 
